gpu=3

root=/data1/baihy/datasets/nerf_synthetic/nerf_synthetic
vsize=0.001
# for scene in chair drums ficus hotdog lego materials mic ship
for scene in lego
do
  echo "开始训练场景: $scene"
  python train.py -s $root/$scene --gpu $gpu --eval --voxel_size $vsize

  # echo "开始渲染场景: $scene"
  # level=3
  # python render.py -m output/${scene}/level_${level}
done

root=/data1/baihy/datasets/mipnerf360
vsize=0.001
ratio=5
for scene in bicycle bonsai counter flowers garden kitchen room stump treehill
do
  echo "开始训练场景: $scene"
  python train.py -s $root/$scene --gpu $gpu --eval --voxel_size $vsize --ratio $ratio

  # echo "开始渲染场景: $scene"
  # python render.py -m outputs/${scene}
done